package commands;

import game.logic.Table.Position;
import game.logic.Table.TableSide;

public class LEDCommand extends Command {
	private TableSide side;
	private Position pos;
	/**
	 * Constructor
	 * @param side
	 * @param pos
	 */
	public LEDCommand (TableSide side, Position pos) {
		this.side = side;
		this.pos = pos;
	}

	/**
	 * returns "LED" for LEDCommand
	 */
	@Override
	public String getType() {
		return "LED";
	}

	/**
	 * returns the side of the table to issue the LED command
	 */
	@Override
	public TableSide getSide() {
		return side;
	}
	
	/**
	 * returns the position of the led command
	 * @return
	 */
	public Position getPos() {
		return pos;
	}

}
